how to find loss percentage